body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.header {
    background-color: green;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 24px;
}

.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
}

.container {
    flex: 1;
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}
.welcome-message {
    font-size: 20px;
    margin-bottom: 20px;
}

.menu {
    background-color: #f4f4f4; /* 菜单背景颜色 */
    padding: 10px;
    display: flex;
    justify-content: space-around;
}

.menu-item {
    position: relative;
    display: inline-block;
}

.menu-item a {
    display: block;
    padding: 10px 20px;
    color: #333; /* 文字颜色 */
    text-decoration: none;
    border-radius: 4px;
    background-color: #f4f4f4; /* 背景颜色 */
}

.menu-item a:hover {
    background-color: #e0e0e0; /* 悬停时的背景颜色 */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #767680;
}

.menu-item:hover .dropdown-content {
    display: block;
}
